#pragma once
#include "DSimpleSpace.h"

namespace Skill
{
	namespace Ode
	{				
		DSimpleSpace::DSimpleSpace(DSpace^ space)
			:DSpace()
		{
			if(space)
				_SetPointer(dSimpleSpaceCreate(space->_Space()),true);
			else
				_SetPointer(dSimpleSpaceCreate(NULL),true);
			_Container = space;
		}
	}
}